Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.platform.faceted.search.dm.actions--actions

This contribution is part of XML component org.nuxeo.ecm.platform.faceted.search.dm.actions inside nuxeo-platform-faceted-search-dm-5.8.jar

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action id="facetedSaveSearchAction" label="command.save" link="#{facetedSearchActions.saveSearch()}" order="10">
        </action>
  • <action id="FacetedSavedSearches" label="label.home.faceted.saved.searches" link="/incl/faceted_saved_searches.xhtml" order="0">
          <category>SavedSearches_sub_tab</category>
          <filter-id>not_readonly</filter-id>
        </action>
  • <action confirm="if( !confirmDeleteDocumentsForever() ) return false;" help="comand.deleteDocs.help" icon="" id="facetedSearchCurrentSelectionDelete" label="command.trashDocs" link="#{deleteActions.purgeSelection('FACETED_SAVED_SEARCHES_CURRENT_SELECTION')}">
          <category>FACETED_SAVED_SEARCHES_CURRENT_SELECTION_LIST</category>
          <filter id="canDeleteFacetedSavedSearches">
            <rule grant="true">
              <condition>#{deleteActions.getCanDelete('FACETED_SAVED_SEARCHES_CURRENT_SELECTION')}</condition>
            </rule>
          </filter>
        </action>
  • <action id="TAB_MY_SUBSCRIPTIONS">
          <filter-id>denyForFacetedSearch</filter-id>
        </action>
  • <action id="TAB_MANAGE_SUBSCRIPTIONS">
          <filter-id>denyForFacetedSearch</filter-id>
        </action>
  • <action id="TAB_RELATIONS">
          <filter-id>denyForFacetedSearch</filter-id>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <!-- Search actions -->

    <action id="facetedSaveSearchAction" label="command.save" link="#{facetedSearchActions.saveSearch()}" order="10">
    </action>

    <!-- Saved searches -->
    <action id="FacetedSavedSearches" label="label.home.faceted.saved.searches" link="/incl/faceted_saved_searches.xhtml" order="0">
      <category>SavedSearches_sub_tab</category>
      <filter-id>not_readonly</filter-id>
    </action>

    <action confirm="if( !confirmDeleteDocumentsForever() ) return false;" help="comand.deleteDocs.help" icon="" id="facetedSearchCurrentSelectionDelete" label="command.trashDocs" link="#{deleteActions.purgeSelection('FACETED_SAVED_SEARCHES_CURRENT_SELECTION')}">
      <category>FACETED_SAVED_SEARCHES_CURRENT_SELECTION_LIST</category>
      <filter id="canDeleteFacetedSavedSearches">
        <rule grant="true">
          <condition>#{deleteActions.getCanDelete('FACETED_SAVED_SEARCHES_CURRENT_SELECTION')}</condition>
        </rule>
      </filter>
    </action>

    <action id="TAB_MY_SUBSCRIPTIONS">
      <filter-id>denyForFacetedSearch</filter-id>
    </action>

    <action id="TAB_MANAGE_SUBSCRIPTIONS">
      <filter-id>denyForFacetedSearch</filter-id>
    </action>

    <action id="TAB_RELATIONS">
      <filter-id>denyForFacetedSearch</filter-id>
    </action>

  </extension>